package com.qujia.label.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qujia.common.annotation.Excel;
import com.qujia.common.core.domain.BaseEntity;

/**
 * 用户标签对象 customer_label
 *
 * @author qujia
 * @date 2021-06-15
 */
public class CustomerLabel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Integer id;

    /**
     * 标签规则主表
     */
    @ApiModelProperty(value = "标签规则主表")
    @Excel(name = "标签ID")
    private Integer labelId;

    /**
     * 标签名
     */
    @ApiModelProperty(value = "标签名")
    @Excel(name = "标签名")
    private String labelName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @Excel(name = "手机号")
    private String phone;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    @Excel(name = "用户名")
    private String customerName;

    /**
     * 删除 1是 0否
     */
    @ApiModelProperty(value = "删除 1是 0否")
    private String delFlag;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id")
    private Long stationId;

    /**
     * 油企id
     */
    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getLabelName() {
        return labelName;
    }


    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }

    public Integer getLabelId() {
        return labelId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("phone", getPhone())
                .append("labelId", getLabelId())
                .append("stationId", getStationId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
